<extend name="Base/common"/>

<block name="header">
    <header class="jumbotron subhead" id="overview">
        <div class="container">
            <h2>严谨 好学 求实 创新 </h2>           
        </div>
    </header>
</block>

<block name="side">
<!-- 左侧 nav
================================================== -->

       <include file="Curriculum/curside" />

</block>

<block name="body">
    <div class="span8">
        <h3><a href="__SELF__">学员成绩上报</a></h3>
       
        <form method="get" action="" name="cid">
        <select name="cid" class="form-control" class="form-horizontal" role="form" onchange="this.form.submit()">
                <option value={$_cur.cid} >{$_cur.cname}-{$_cur.teacher}</option>                
               <foreach name="list" item="vo">
                <option value="{$vo.cid}">{$vo.cname}-{$vo.teacher}</option>
                </foreach>
            </select>
            </form>
        <table class="hovertable" width="100%">
        <tr>
            <th>序号</th><th>班级</th><th>原班级学号</th><th>姓名</th><th>性别</th><th width="10%">成绩</th><th>是否优秀学员</th><th>更新日期</th>
       <form method="post" action="" class="form-horizontal" role="form"
       onsubmit="return  confirm('你确定要修改这些学生的信息吗?')" >
		
       
		</tr>
        <volist name="student" id="st" >
        <tr style="text-align:center;">
            <input type="hidden" name="sid[{$i}]" value="{$st.sid}"><td>{$i}</td><td>{$st.class}</td>
			<td >{$st.code}</td><td>{$st.name}</td><td>{$st.sex}</td>
			<td width="10%">
           <div class="col-xs-1">
			<select name="score[{$i}]"  class="input-small">
			    <option >{$st.score}</option>
                <option value="A">A</option>
                <option value="B">B</option>
                <option value="C">C</option>
                <option value="D">D</option>				
			</select>
            </div>
            </td>
			<td>
			    <php>
                    $selstr[$i] = ($st['outstand'])?' selected':'';
                    </php>

                 <select name="out[{$i}]" class="input-small" >                 
			    <option value=0>否</option>
				<option value=1 {$selstr[$i]}>是</option>
				
			</select>
			<!-- 是<input id="id_type_{$i}" name="out[{$i}]" value="1" type="radio" checked/>否<input id="id_type_{$i}" name="out[{$i}]" value="0" type="radio" /> --></td>
			<td>{$st.scoreuptime|time_format}</td>
        </volist>
		<tr>
        <td colspan="7"><input type="submit" class="btn btn-primary" value="提交"></td><td></td></tr>
		</form>
        </table>

    </div>
</block>